package com.example.juheweatherapi.services.impl;

import com.example.juheweatherapi.services.ApiService;
import com.example.juheweatherapi.weatherapi.WeatherReportByCity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ApiServiceImpl implements ApiService {



    @Override
    public String getWeatherByCity(String cityName) {

        return  WeatherReportByCity.excute(cityName);
    }
}
